#include "applib.h"
#include <stdint.h>
#include <stdlib.h>
int main (int argc, char ** argv);

extern uint8_t __bss_start__[],__bss_end__[];

//应用的初始化，C部分
void cstart (int argc, char ** argv) 
{
    //清零bssd段
    uint8_t* start = __bss_start__;
    while(start< __bss_end__)
    {
        *start++;
    }
    exit(main(argc, argv));
}